package com.hxs.hxsserver.exception;

import lombok.Data;

import java.io.Serializable;

/**
 * @description: token异常
 * @author: Andi
 * @create: 2020-07-14 15:51
 */
@Data
public class TokenException extends RuntimeException implements Serializable {
    private static final long serialVersionUID = -6953116493821873266L;
    private String msg;
    private Integer code;
    public TokenException(String message,Integer code) {
        super(message);
        setCode(code);
    }
}
